<template>
  <div class="header">
    <header class="wrap">
      <div class="banner">
        <img src="/static/img/banner.png" />
      </div>
      <div class="seach">
        <input type="text" placeholder="Montagne jeunesse" />
        <div class="sousuo">
          <div class="sea">
            <img src="/static/img/search.png" />
          </div>
        </div>
      </div>
    </header>
  </div>
</template>
<script>
export default {
  name: 'Top',
  data () {
    return {}
  },
  methods: {}
}
</script>

<style lang="less" scoped>
.header {
  width: 100%;
  height: 6.96rem;
  .wrap {
    position: relative;
    .banner {
      height: 6.96rem;
      width: 100%;
    }
    .seach {
      display: block;
      width: 6.906667rem;
      height: 0.8rem;
      position: absolute;
      top: 0.866667rem;
      left: 50%;
      margin-left: -3.4533335rem;
      background: #fedde6;
      border-radius: 0.133333rem;
      input {
        float: left;
        border: none;
        width: 6rem;
        height: 0.6rem;
        padding: 0.1rem 0;
        border-radius: 0.133333rem;
        padding-left: 0.133333rem;
        line-height: 0.8rem;
        background: #fedde6;
      }
      .sousuo {
        float: left;
        display: table;
        width: .76rem;
        height: .826667rem;
        .sea {
          display: table-cell;
          vertical-align: middle;
          text-align: center;
          img {
            width: .533333rem;
            height: .533333rem;
          }
        }
      }
    }
  }
}
</style>
